from api.ihrm_login_api import IhrmLogin


def get_header():
    header={"mobile":"13800000002","password":"123456"}
    resp=IhrmLogin.ihrmlogin(header)
    header2={"Authorization": resp.json().get("data")}
    return header2
if __name__ == '__main__':
    ret=get_header()
    print(ret)
